package main

import (
    "fmt"
    "bytes"
    "io"
    "os"
)

func main() {
    var b bytes.Buffer
    b.Write([] byte("hello "))
    fmt.Fprintf(&b, "world!")
    io.Copy(os.Stdout, &b)
}
